﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    /// <summary>
    /// 检验单据
    /// </summary>
    public class QcProcessRecord
    {
        /// <summary>
        /// 工序检验单id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 工序检验单编号
        /// </summary>
        public string RecordCode { get; set; }

        /// <summary>
        /// 任务单号
        /// </summary>
        public string TaskCode { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderCode { get; set; }

        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcessCode { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public string Quantity { get; set; }

        /// <summary>
        /// 报工人
        /// </summary>
        public string ReportUser { get; set; }

        /// <summary>
        /// 检验方式
        /// </summary>
        public string InspectWay { get; set; }

        /// <summary>
        /// 抽检数
        /// </summary>
        public string CheckNumber { get; set; }

        /// <summary>
        /// 版本
        /// </summary>
        public string Version { get; set; }

        /// <summary>
        /// 收订单日期
        /// </summary>
        public DateTime ? OrderDate { get; set; }

        /// <summary>
        /// 状态 (0：未质检, 1：已质检)
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 是否有检验项目 (0：否, 1：是)
        /// </summary>
        public string InspectFlag { get; set; }

        /// <summary>
        /// 质检组
        /// </summary>
        public string InspectGroup { get; set; }

        /// <summary>
        /// 质检员
        /// </summary>
        public string InspectUser { get; set; }

        /// <summary>
        /// 质检时间
        /// </summary>
        public DateTime ? InspectTime { get; set; }

        /// <summary>
        /// 检验开始时间
        /// </summary>
        public DateTime ? InspectStartTime { get; set; }

        /// <summary>
        /// 检验结束时间
        /// </summary>
        public DateTime ? InspectEndTime { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime ? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }
    }
}
